import { AdvancedAdditionalButton } from "./AdvancedButton"

export const AdvancedButtonText = ({ text, textColor, textSize }: AdvancedAdditionalButton & { text?: React.ReactNode }) => {
  if (!text) return null
  return <p style={{ color: textColor || '', fontSize: textSize || '' }} >{text}</p>
}
